//
//  SVPManager.m
//  NewPro
//
//  Created by RYX on 2018/10/24.
//  Copyright © 2018年 何荧红. All rights reserved.
//

#import "SVPManager.h"

@implementation SVPManager

+ (void)showSuccessWithTitle:(NSString *)title{
    
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleDark];
    [SVProgressHUD setMaximumDismissTimeInterval:2];
    [SVProgressHUD showImage:[UIImage imageNamed:@"img_success"] status:title];
}

+ (void)showErrorWithTitle:(NSString *)title{
    
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleDark];
    [SVProgressHUD setMaximumDismissTimeInterval:2];
    [SVProgressHUD showImage:[UIImage imageNamed:@"img_failure"] status:title];
}
@end
